package com.qfedu.dao;

import com.qfedu.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {

    /**
     * 登录
     * @return
     */
    User login(String username);


    /**
     * 注册
     * @param user
     * @return
     */
    int rgister(User user);
}
